package corejava;

public class CarDemo {

	public static void main(String[] args) {
		
		Car  kiaSport = new Car();
		
		kiaSport.color = "blue";
		kiaSport.currentSpeed = 60;

		int speedAfterAcceleration = kiaSport.accelerate(10);
		
		System.out.println("speed after acceleration = " + speedAfterAcceleration);
		
	}

}
